import request from '@/utils/request'

export function getBusineline() {
  return request({
    url: '/get_group',
    method: 'get'
  })
}

export function getProductName(groudId) {
  return request({
    url: '/get_project/' + groudId,
    method: 'get'
  })
}
export function projectVersionName(projectId) {
  return request({
    url: '/project_version/get_project_version/' + projectId,
    method: 'get'
  })
}
export function getBugdata(data) {
  return request({
    url: '/quality_control/bug_calculate',
    method: 'post',
    data
  })
}
export function getCalcuParam(data) {
  return request({
    url: '/quality_control/calcu_param',
    method: 'post',
    data
  })
}

